package top.riske.gen3d;

import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.ApplicationRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

@MapperScan("top.riske.gen3d.mapper")
@SpringBootApplication
public class Gen3DApplication {

    public static void main(String[] args) {
        SpringApplication.run(Gen3DApplication.class, args);
    }

    @Bean
    public ApplicationRunner runner() {
        return args -> {
            System.err.println("程序启动成功！");
        };
    }

}
